Package com.cisco.pt.ipc.sim.pdu.impl
Class EIGRPv6ExternalImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.EIGRPTlvImpl
com.cisco.pt.ipc.sim.pdu.impl.EIGRPv6ExternalImpl
- All Implemented Interfaces:
IPCData,EIGRPTlv,EIGRPv6External,Pdu,Signal
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected intprotected intprotected IPV6Addressprotected intprotected Byteprotected Byteprotected Byteprotected intprotected IPV6Addressprotected IPV6Addressprotected Byteprotected Byteprotected Shortprotected intFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.EIGRPTlvImpl
length, typeFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) intintintgetDelay()intgetFieldType(String fieldName) getLoad()intgetMtu()intvoidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetAdminTag(int adminTag) voidsetBandwidth(int bandwidth) voidsetDelay(int delay) voidsetDestination(IPV6Address destination) voidsetExMetric(int exMetric) voidsetExProtocolType(Byte exProtocolType) voidsetHopcount(Byte hopcount) voidvoidsetMtu(int mtu) voidsetNextHop(IPV6Address nextHop) voidsetOriginalRouter(IPV6Address originalRouter) voidsetPrefixLength(Byte prefixLength) voidsetReliability(Byte reliability) voidsetReserved(Short reserved) voidsetRouteAS(int routeAS) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.EIGRPTlvImpl
getLength, getType, setLength, setTypeMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.EIGRPTlv
getLength, getType, setLength, setTypeMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
nextHop
-
originalRouter
-
routeAS
protected int routeAS -
exMetric
protected int exMetric -
exProtocolType
-
adminTag
protected int adminTag -
delay
protected int delay -
bandwidth
protected int bandwidth -
mtu
protected int mtu -
hopcount
-
reliability
-
load
-
reserved
-
prefixLength
-
destination
-
-
Constructor Details
-
EIGRPv6ExternalImpl
public EIGRPv6ExternalImpl()
-
-
Method Details
-
getNextHop
- Specified by:
getNextHopin interfaceEIGRPv6External- Returns:
- IPV6Address Returns a IPV6Address
-
setNextHop
- Specified by:
setNextHopin interfaceEIGRPv6External- Parameters:
nextHop- Takes in a parameter of nextHop
-
getOriginalRouter
- Specified by:
getOriginalRouterin interfaceEIGRPv6External- Returns:
- IPV6Address Returns a IPV6Address
-
setOriginalRouter
- Specified by:
setOriginalRouterin interfaceEIGRPv6External- Parameters:
originalRouter- Takes in a parameter of originalRouter
-
getRouteAS
public int getRouteAS()- Specified by:
getRouteASin interfaceEIGRPv6External- Returns:
- int Returns a int
-
setRouteAS
public void setRouteAS(int routeAS) - Specified by:
setRouteASin interfaceEIGRPv6External- Parameters:
routeAS- Takes in a parameter of routeAS
-
getExMetric
public int getExMetric()- Specified by:
getExMetricin interfaceEIGRPv6External- Returns:
- int Returns a int
-
setExMetric
public void setExMetric(int exMetric) - Specified by:
setExMetricin interfaceEIGRPv6External- Parameters:
exMetric- Takes in a parameter of exMetric
-
getExProtocolType
- Specified by:
getExProtocolTypein interfaceEIGRPv6External- Returns:
- Byte Returns a Byte
-
setExProtocolType
- Specified by:
setExProtocolTypein interfaceEIGRPv6External- Parameters:
exProtocolType- Takes in a parameter of exProtocolType
-
getAdminTag
public int getAdminTag()- Specified by:
getAdminTagin interfaceEIGRPv6External- Returns:
- int Returns a int
-
setAdminTag
public void setAdminTag(int adminTag) - Specified by:
setAdminTagin interfaceEIGRPv6External- Parameters:
adminTag- Takes in a parameter of adminTag
-
getDelay
public int getDelay()- Specified by:
getDelayin interfaceEIGRPv6External- Returns:
- int Returns a int
-
setDelay
public void setDelay(int delay) - Specified by:
setDelayin interfaceEIGRPv6External- Parameters:
delay- Takes in a parameter of delay
-
getBandwidth
public int getBandwidth()- Specified by:
getBandwidthin interfaceEIGRPv6External- Returns:
- int Returns a int
-
setBandwidth
public void setBandwidth(int bandwidth) - Specified by:
setBandwidthin interfaceEIGRPv6External- Parameters:
bandwidth- Takes in a parameter of bandwidth
-
getMtu
public int getMtu()- Specified by:
getMtuin interfaceEIGRPv6External- Returns:
- int Returns a int
-
setMtu
public void setMtu(int mtu) - Specified by:
setMtuin interfaceEIGRPv6External- Parameters:
mtu- Takes in a parameter of mtu
-
getHopcount
- Specified by:
getHopcountin interfaceEIGRPv6External- Returns:
- Byte Returns a Byte
-
setHopcount
- Specified by:
setHopcountin interfaceEIGRPv6External- Parameters:
hopcount- Takes in a parameter of hopcount
-
getReliability
- Specified by:
getReliabilityin interfaceEIGRPv6External- Returns:
- Byte Returns a Byte
-
setReliability
- Specified by:
setReliabilityin interfaceEIGRPv6External- Parameters:
reliability- Takes in a parameter of reliability
-
getLoad
- Specified by:
getLoadin interfaceEIGRPv6External- Returns:
- Byte Returns a Byte
-
setLoad
- Specified by:
setLoadin interfaceEIGRPv6External- Parameters:
load- Takes in a parameter of load
-
getReserved
- Specified by:
getReservedin interfaceEIGRPv6External- Returns:
- Short Returns a Short
-
setReserved
- Specified by:
setReservedin interfaceEIGRPv6External- Parameters:
reserved- Takes in a parameter of reserved
-
getPrefixLength
- Specified by:
getPrefixLengthin interfaceEIGRPv6External- Returns:
- Byte Returns a Byte
-
setPrefixLength
- Specified by:
setPrefixLengthin interfaceEIGRPv6External- Parameters:
prefixLength- Takes in a parameter of prefixLength
-
getDestination
- Specified by:
getDestinationin interfaceEIGRPv6External- Returns:
- IPV6Address Returns a IPV6Address
-
setDestination
- Specified by:
setDestinationin interfaceEIGRPv6External- Parameters:
destination- Takes in a parameter of destination
-
getFieldType
- Overrides:
getFieldTypein classEIGRPTlvImpl
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Overrides:
readin classEIGRPTlvImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-
pduRead
- Specified by:
pduReadin interfaceSignal- Overrides:
pduReadin classEIGRPTlvImpl
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classEIGRPTlvImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classEIGRPTlvImpl
-